#import "dfhgwhruebvhrheyspheredesign.h"
@interface dfhgwhruebvhrheyspheredesign ()
@property (weak, nonatomic) IBOutlet UIImageView *bigPicture;
@end
@implementation dfhgwhruebvhrheyspheredesign {
	void(^_closeAction)(void);
}
- (void)awakeFromNib {
	[super awakeFromNib];
	self.bigPicture.layer.cornerRadius = 20;
	self.bigPicture.layer.masksToBounds = YES;
}
- (void)bindImage:(UIImage *)img andClose:(void (^)(void))close {
	_closeAction = close;
	self.bigPicture.image = img;
	self.php_w = PPP_SCREEN_WIDTH-38*3;
	self.php_h = img.size.height*self.php_w/img.size.width + 72;
	self.center = dfhgwhruebvhrheyoptionsaving.keyWindow.center;
}
- (IBAction)closeAction {
	if (_closeAction) {
		_closeAction();
	}
}
@end
